﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    public class Genre
    {
        [DataMember]
        private int id;
        [DataMember]
        private string type;
        

        public Genre(int id, string type)
        {
            ID = id;
            Type = type;
        }

        [DataMember]
        public string Type
        {
            get { return this.type; }
            set { this.type = value; }
        }

        [DataMember]
        public int ID
        {
            get { return this.id; }
            set { this.id = value; }
        }
    }
}
